@extends('layouts.'.getTheme())
@section('css')
<link href="{{asset(getThemeAssets('dataTables/datatables.min.css', true))}}" rel="stylesheet">
<style type="text/css">
	.timeline-item p{
        font-size: 15px;
    }
    .timeline-item i,small{
        font-size: 14px;
    }
</style>
@endsection
@section('content')
<div class="row wrapper border-bottom white-bg page-heading">
  <div class="col-lg-10">
    <h2>{!!trans('alarmsetting.title')!!}</h2>
    <ol class="breadcrumb">
        <li>
            <a href="{{url('admin')}}">{!!trans('home.title')!!}</a>
        </li>
        <li class="active">
            <strong>{!!trans('alarmsetting.title')!!}</strong>
        </li>
    </ol>
  </div>
  <div class="col-lg-2">
    <div class="title-action">

    </div>
  </div>
</div>
<div class="wrapper wrapper-content animated" style="padding-bottom: 0px;">
  <div class="row">
    <div class="col-lg-4">
      <div class="ibox">
        <div class="ibox-title">
          <h5>{!!trans('alarmsetting.location')!!}</h5>
          <div class="ibox-tools">
            <a class="collapse-link">
              <i class="fa fa-chevron-up"></i>
            </a>
            <a class="close-link">
                <i class="fa fa-times"></i>
            </a>
          </div>
        </div>
        <div class="ibox-content">
                <form class="form-horizontal" role="form">
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select class="form-control" name="" id="PR">
                                        <option>江苏省</option>
                                    </select>
                                </div>
                                <label class="col-sm-2 control-label" for="PR"
                                       style="padding-left: 0;text-align: left">省</label>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select class="form-control" name="" id="City">
                                        <option>苏州市</option>
                                    </select>
                                </div>
                                <label class="col-sm-2 control-label" for="City"
                                       style="padding-left: 0;text-align: left">市</label>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-10">
                                    <select class="form-control" name="" id="Town">
                                        <option>张家港市</option>
                                    </select>
                                </div>
                                <label class="col-sm-2 control-label" for="Town"
                                       style="padding-left: 0;text-align: left">县</label>
                            </div>
                        </form>              
        </div>
      </div>
    </div>
    <div class="col-lg-8">
      <div class="ibox">
        <div class="ibox-title">
          <h5>{!!trans('alarmsetting.extraplace')!!}</h5>
          <div class="ibox-tools">
            <a class="collapse-link">
              <i class="fa fa-chevron-up"></i>
            </a>
            <a class="close-link">
                <i class="fa fa-times"></i>
            </a>
          </div>
        </div>
        <div class="ibox-content">
                <form class="form-horizontal" role="form">
                            <div class="form-group">
                                <label class="col-sm-2 control-label" for="Shop">车 间</label>
                                <div class="col-sm-6">
                                    <select class="form-control" name="" id="Shop">
                                        <option class="selected">01车间</option>
                                    </select>
                                </div>
                                <div class="col-sm-4">
                                    <div class="btn-group">
                                        <button class="btn btn-default">增加</button>
                                        <button class="btn btn-default">编辑</button>
                                        <button class="btn btn-default">删除</button>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label" for="Part">工 段</label>
                                <div class="col-sm-6">
                                    <select class="form-control" name="" id="Part">
                                        <option class="selected">01工段</option>
                                    </select>
                                </div>
                                <div class="col-sm-4">
                                    <div class="btn-group">
                                        <button class="btn btn-default">增加</button>
                                        <button class="btn btn-default">编辑</button>
                                        <button class="btn btn-default">删除</button>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label" for="Room">电气室</label>
                                <div class="col-sm-6">
                                    <select class="form-control" name="" id="Room">
                                        <option class="selected">01电气室</option>
                                    </select>
                                </div>
                                <div class="col-sm-4">
                                    <div class="btn-group">
                                        <button class="btn btn-default">增加</button>
                                        <button class="btn btn-default">编辑</button>
                                        <button class="btn btn-default">删除</button>
                                    </div>
                                </div>
                            </div>
                        </form>
        </div>
  </div>
  </div>
  </div>
</div>
<!-- 各回路测点临界值设置 -->
<div class="wrapper wrapper-content animated">
  <div class="row">
    <div class="col-lg-12">
      <div class="ibox">
        <div class="ibox-title">
          <h5>{!!trans('coring.all_monitor')!!}</h5>
          <div class="ibox-tools">
            <a class="collapse-link">
              <i class="fa fa-chevron-up"></i>
            </a>
            <a class="close-link">
                <i class="fa fa-times"></i>
            </a>
          </div>
        </div>
        <div class="ibox-content">
                <div class="alert alert-info fade in">
                    <button type="button" class="close" data-dismiss="alert">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    过流报警设置、漏电报警设置、温度报警设置可根据测点信息展示页属性进行对应设置。
                </div>   
          <div class="table-responsive">
          @include('flash::message')
          {!! $html->table(['class' => 'table table-striped table-bordered nowrap']) !!}            
          </div>     
        </div>
      </div>
    </div>
  </div>
</div>
@endsection
@section('js')
  <script src="{{asset(getThemeAssets('plugins/jquery.dataTables.js', true))}}"></script>
  <script src="{{asset(getThemeAssets('dataTables/datatables.min.js', true))}}"></script>
  <script src="{{asset(getThemeAssets('layer/layer.js', true))}}"></script>
  <script type="text/javascript">
    $(document).on('click','.destroy_item',function() {
      var _item = $(this);
      var title = "{{trans('common.deleteTitle').trans('user.slug')}}？";
      layer.confirm(title, {
        btn: ['{{trans('common.yes')}}', '{{trans('common.no')}}'],
        icon: 5
      },function(index){
        _item.children('form').submit();
        layer.close(index);
      });
    });
  </script>
  <script>

  </script>
  {!! $html->scripts() !!}
@endsection
